package com.wing.product.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wing.product.model.entity.WarehouseOrder;
import com.wing.product.model.entity.WarehouseTransferOrder;
import com.wing.product.model.response.WarehouseTransferOrderVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;
import java.util.Objects;

@Mapper
public interface WarehouseTransferOrderDao extends BaseMapper<WarehouseTransferOrder> {
    List<WarehouseTransferOrderVO> list4app(@Param("page") Page<WarehouseTransferOrder> pg, @Param("params") Map<String, Object> paramMap);
    void updateUserBundleCode(@Param("productStatus")int productStatus ,@Param("userBundleCode")String userBundleCode);
    void updateProductInventoryById(@Param("transferId")int transferId);
}